package com.ruoyi.system.domain;

import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 对外接口配置实体对象 t_dm_graph_outapi_client_config
 *
 * @author wjialong
 */
public class OutapiClientConfig extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String id;

    /**
     * 应用id
     */
    @Excel(name = "应用id")
    private String appId;

    /**
     * 应用名称
     */
    @Excel(name = "应用名称")
    private String name;

    /**
     * SM4加密密钥
     */
    @Excel(name = "SM4加密密钥")
    private String secKey;

    /**
     * 联系电话
     */
    @Excel(name = "联系电话")
    private String mobile;

    /**
     * 联系人
     */
    @Excel(name = "联系人")
    private String contact;

    public void setId(String id) {
        this.id = id;
    }

    public String getId() {
        return id;
    }

    public void setAppId(String appId) {
        this.appId = appId;
    }

    public String getAppId() {
        return appId;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setSecKey(String secKey) {
        this.secKey = secKey;
    }

    public String getSecKey() {
        return secKey;
    }

    public void setMobile(String mobile) {
        this.mobile = mobile;
    }

    public String getMobile() {
        return mobile;
    }

    public void setContact(String contact) {
        this.contact = contact;
    }

    public String getContact() {
        return contact;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("appId", getAppId())
                .append("name", getName())
                .append("secKey", getSecKey())
                .append("mobile", getMobile())
                .append("contact", getContact())
                .append("remark", getRemark())
                .append("createTime", getCreateTime())
                .append("createBy", getCreateBy())
                .toString();
    }
}
